home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / binutils.7 / binutils / binutils-2.7 / libiberty / alloca-norm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-07-04  |  444 b   |  21 lines

  1. /* "Normal" configuration for alloca.  */
  2.  
  3. #ifdef __GNUC__
  4. #define alloca __builtin_alloca
  5. #else /* not __GNUC__ */
  6. #ifdef sparc
  7. #include <alloca.h>
  8. #ifdef __STDC__
  9. extern void *__builtin_alloca();
  10. #else
  11. extern char *__builtin_alloca();  /* Stupid include file doesn't declare it */
  12. #endif
  13. #else
  14. #ifdef __STDC__
  15. PTR alloca (size_t);
  16. #else
  17. PTR alloca ();            /* must agree with functions.def */
  18. #endif
  19. #endif /* sparc */
  20. #endif /* not __GNUC__ */
  21.